package com.atmilan.quartz.sync.pull.daigo.service;

import java.util.Date;
import java.util.List;

import com.atmilan.quartz.model.entity.daigo.DaigoProductSku;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * <p>
 * daigo sku 管理类
 * </p>
 *
 * @author hupeng
 * @since 2020-04-27
 */
public interface IDaigoProductSkuService extends IService<DaigoProductSku> {

    List<DaigoProductSku> getDeleteList(String goodsId, Date startTime);

    int removeBatchByGoodsIds(List<String> goodsIds);

    int removeBatch(List<DaigoProductSku> skuList);

    boolean replaceIntoSku(DaigoProductSku daigoProductSku);

    List<String> findDeleteSkuIds(Date startTime);

    List<String> findAllSkuIds();

    List<DaigoProductSku> findByGoodsId(String goodsId);
    
    /**
     * 清空指定表
     * @Description:  
     * @author daigb 
     * @param 
     * @return void
     * @throws
     */
    void deleteAll();
    
    /**
     * 复制指定表
     * @Description:  
     * @author daigb 
     * @param 
     * @return void
     * @throws
     */
    void copyAll();
}
